package edu.guet.Decorator;

public class Decorator extends Component {

    private Component component;


    public void setComponent(Component component) {
        this.component = component;
    }

    @Override
    public void Operation() {
         if (component != null) {
             component.Operation();
         }
    }
}
